
#ifndef MAPINTERSECTION_H_
#define MAPINTERSECTION_H_

#include "mapElement.hpp"
#include "../main/node.hpp"

class MapIntersection : public MapElement{
private:
	Node *node;

public:

	MapIntersection(){}

	MapIntersection(Node *n);

	MapIntersection(std::string id);

	static MapIntersection* generateMapIntersection(Node *n)
	{
		return (new MapIntersection(n));
	}

	bool belongToMP();

	virtual ~MapIntersection(){}
};

#endif /* MAPINTERSECTION_H_ */